package com.wlh.animation.overdraw;

import com.wlh.animation.R;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;

/**
 * Created by weilh on 2017/7/13.
 */

public class OverDrawAct extends AppCompatActivity{

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
//        getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT));
        setContentView(R.layout.activity_over_draw);
        ViewService.get(this).addWindow(this);
    }

    @Override
    protected void onResume() {
        super.onResume();
        ViewService.get(this).setFocusedWindow(this);
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        ViewService.get(this).removeWindow(this);
    }
}
